/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.cursoexperto.jftf.carrocompra.backing;

import java.util.List;
import org.cursoexperto.jftf.carrocompra.entidades.Categoria;
import org.cursoexperto.jftf.carrocompra.services.CategoriaService;


/**
 *
 * @author Jose Fernando
 */
public class CategoriaBean {

    /** Creates a new instance of CategoriaBean */
    public CategoriaBean() {
    }

    public List<Categoria> categoriasDameBean(){
        CategoriaService catSrv = new CategoriaService();
        return catSrv.findCategoriaEntities();
    }

}
